package simplechat.client;

import java.util.Scanner;

/**
 * @program: netty-study
 * @description: 客户端用户2
 * @author: 胡海龙
 * @create: 2021-04-10 22:13:18
 **/
public class ClientUser2 {

    public static void main(String[] args) {
        System.out.print("请输入您的用户名：");
        Scanner scanner = new Scanner(System.in);
        String fromName = scanner.nextLine();
        new Thread(new ClientUserHandle("127.0.0.1",8080,fromName),"client-"+fromName+"-thread").start();
    }
}
